import http from "./http";

const login = (email,password) =>{
    const path ='auth/login'
    return http.post(path,{email,password})
}

const Pwdreset = (old_pwd,pwd1,pwd2) =>{
    const path='auth/reset'
    return http.post(path,{old_pwd,pwd1,pwd2})
}

export default {login,Pwdreset}